//
//  XJURLConst.m
//  XinJiangMall
//
//  Created by RaoBo on 2018/5/3.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import "XJURLConst.h"

@implementation XJURLConst
/**主路径*/
NSString *const XJMainURL = @"http://xinjiangapi.zertone1.com/api/v1/";
//NSString *const XJMainURL = @"http://192.168.31.177:8079/api/v1/";
//http://192.168.31.177:8079/api/v1/customer/loginSms
//http://192.168.31.177:8079/api/v1/customer/login_passwd
/**1.首页数据*/
NSString *const home = @"home";
/**2.宅配圈搜索商品*/
NSString *const XJHomeSearchGoods = @"home/search_goods";
/**3.宅配圈搜索店铺*/
NSString *const XJHomeSearchShops = @"home/search_shops";
/**4.秒杀*/
NSString *const XJHomeSeckill_list = @"home/seckill_list";
/**5.获取七牛云token*/
NSString *const XJQiNiuToken = @"oss/token";
/**6.获取在线客服电话号码*/
NSString *const XJOnline_servicePhone = @"common/online_service";



#pragma mark - ======一 店铺 `shop`======
/**======店铺相关接口======**/
/**1.店铺详情*/
NSString *const XJShopInfo = @"shop/info";
/**2.获取店铺`分类`数据*/
NSString *const XJShopCategoryList = @"goods/category_goods_list";
/**3.获取店铺列表 首页---tag---宅配圈*/
NSString *const XJShopList = @"shop/list";


#pragma mark - ======二 商品 `goods`======
/**1.商品详情*/
NSString *const XJGoodsInfo = @"goods/info";
/**商品收藏列表*/
NSString *const XJgoods_collectionList = @"goods_collection/list";
/**删除收藏的商品*/
NSString *const XJDeleteShouCang = @"goods_collection/edit";
/**收藏商品**/
NSString *const XJAddShouCang = @"goods_collection/add";
/**取消收藏商品**/
NSString *const XJCancelShouCangGoods = @"goods_collection/cancel";

/**5.推荐商品 6-8*/
NSString *const XJRecommendGoods = @"home/recommend_list";
/**6.产看全部评论*/
NSString *const XJGoodsAllEvaluate = @"goods/comments";







#pragma mark - ======三 登录注册 customer======
/**账号密码登录*/
NSString *const XJLoginPwd = @"customer/login_passwd";
/**注册*/
NSString *const XJRegist = @"customer/regist";
/**获取验证码*/
NSString *const XJSend_code = @"common/send_code";
/**验证验证码*/
NSString *const XJVerify_code = @"common/verify_code";
/**忘记密码*/
NSString *const XJForgetPwd = @"customer/forget_pwd";
/**获取个人详细信息 6-27*/
NSString *const XJCustomerDetail = @"customer/detail";
/**查看资金明细 6-27*/
NSString *const XJCustomerAccountFinanceList = @"customer_account/finance_list";
/**提现账户列表 6-28*/
NSString *const XJCustomerAccountAccountList = @"customer_account/account_list";
/**添加提现账户 6-28*/
NSString *const XJCustomerAccountAddAccount = @"customer_account/add_account";
/**提现 6-29*/
NSString *const XJCustomerAccountTiXian = @"customer_account/withdraw";










#pragma mark - ======四 分类 customer======
/**分类数据*/
NSString *const XJCategoryList = @"home/category_list";
/**2.获取分类二级页面上数据*/
NSString *const XJCategorySecondPageData = @"goods/category_goods_list";



#pragma mark - ======五 购物车 customer======
/**加入购物车*/
NSString *const XJAddCart = @"cart/add_cart";
/**获取购物车列表*/
NSString *const XJCartList = @"cart/cart_list";
/**删除购物车*/
NSString *const XJDeleteCart = @"cart/delete_cart";


#pragma mark - ======六 收货地址 customer_address=======
/**1.获取用户地址列表*/
NSString *const XJAddressList = @"customer_address/list";
/**2.增加用户地址*/
NSString *const XJAddAddressInsert = @"customer_address/insert";
/**3.编辑、修改用户地址*/
NSString *const XJAddressEdit = @"customer_address/edit";
/**4.删除用户地址*/
NSString *const XJAddressDelete = @"customer_address/delete";
/**5.设置默认地址*/
NSString *const XJAddressDefault = @"customer_address/default";

#pragma mark - =======七 个人信息  customer/edit =========
/**1.修改个人信息 头像.昵称.性别应该是通用的*/
NSString *XJCustomerEdit = @"customer/edit";
/**2.修改登录密码*/
NSString *XJModifyLoginPwd = @"customer/passwd_login";
/**3.修改支付密码*/
NSString *XJModifyPayPwd = @"customer/passwd_pay";


#pragma mark - ======== 八 订单相关 order/balance ==========
/**5-29 点击`立即购买`应该调用的是这个接口:order/balance*/
NSString *const XJOrderBalance = @"order/balance";
/**确认订单 点击立即下单调用的第一接口 调的第二个接口是 “pay/prepay” */
NSString *const XJOrderGenerateOrder = @"order/generateOrder";
/**我的页面:获取待付款 上面的角标 6-13*/
NSString *const XJOrderOrderCount = @"order/orderCount";
/**获取订单列表(全部、待付款、待收货、...) 6-14*/
NSString *const XJOrderOrderLists = @"order/orderLists";
/**取消订单*/
NSString *const XJOrderCancelOrder = @"order/cancelOrder";
/**删除订单订单*/
NSString *const XJOrderDeleteOrder = @"order/deleteOrder";
/**确认收货*/
NSString *const XJOrderReceive = @"order/receive";
/**6-20订单详情*/
NSString *const XJOrderDetail = @"order/detail";



#pragma mark - ========九 社区  community ============
/**首页--标签--->跳转到社区界面*/
NSString *const XJCommunityNearest = @"community/nearest";
/**首页--社区--我要服务 -- 选择服务类别 */
NSString *const XJCommunityServiceCategory = @"community/serviceCategory";
/**首页--社区--我要服务 -- 提交服务 */
NSString *const XJCommunityServiceCommit = @"community/serviceCommit";
/**首页--社区--我要服务 -- 社区服务记录 */
NSString *const XJCommunityServiceList = @"community/serviceList";
/**首页--社区--我要服务 -- 社区服务记录----详情 */
NSString *const XJCommunityServiceInfo = @"community/serviceInfo";
/**首页--社区--我要服务 -- 社区服务记录----详情 ---取消*/
NSString *const XJCommunityServiceCancel = @"community/serviceCancel";
/**首页--社区--我要服务 -- 社区服务记录---删除*/
NSString *const XJCommunityServiceDelete = @"community/serviceDelete";

/**首页--社区--进入搜索页面*/
NSString *const XJCommuntiyToSearch = @"community/toSearch";
/**首页--社区--进入搜索页面--进入小区*/
NSString *const XJCommunityEnter = @"community/enter";
/**首页--社区--进入搜索页面--搜索小区*/
NSString *const XJCommunitySearch = @"community/search";
/**1.社区认证*/
NSString *const XJCommunityIdentity = @"community_identity/identity";
/**2.是否通过了社区认证*/
NSString *const XJCommunityIdentityIsIdentity = @"community_identity/is_identity";
/**3.社区 - 认证详情*/
NSString *const XJCommunityIdentityDetail = @"community_identity/detail";
/**4.社区认证列表*/
NSString *const XJCommunityIdentityList = @"community_identity/list";




#pragma mark - ========十 帖子  invitation ============
/**1.首页--tag-- 本地旅游-- 搜索 帖子*/
NSString *const XJInvitationCityFind = @"invitation/cityFind";
/**1-2.首页--tag-- 本地旅游-- 城市帖子界面*/
NSString *const XJInvitationCityPage = @"invitation/cityPage";

/***2.帖子列表 -- 帖子类型（城市：city，社区：community，有名堂：ymt）*/
NSString *const XJInvitationList = @"invitation/list";
/**3.帖子详情 -- 帖子类型（城市：city，社区：community，有名堂：ymt）*/
NSString *const XJInvitationInfo = @"invitation/info";
/**8.搜索有名堂帖子*/
NSString *const XJInvitationYMTTopicsSearch = @"invitation/ymtFind";

/**4.帖子详情 -- 评论帖子*/
NSString *const XJInvitationComment = @"invitation/comment";
/**5 帖子详情 -- 删除评论*/
NSString *const XJInvitationDeleteComment = @"invitation/deleteComment";
/**6 帖子详情 -- 跳转举报页面*/
NSString *const XJInvitationSkipToJuBaoPage = @"invitation/complainPage";
/**7 帖子详情 -- 举报*/
NSString *const XJInvitationJuBao = @"invitation/complain";


#pragma mark - ========十 -2 帖子收藏  invitationCollection  ============
/**1.我的收藏--收藏的帖子列表*/
NSString *const XJInvitationCollectionList = @"invitationCollection/collectionList";
/**2.删除收藏的帖子*/
NSString *const XJInvitationCollectionDelete = @"invitationCollection/collectionDelete";
/**3.收藏帖子*/
NSString *const XJInvitationCollectionCollection = @"invitationCollection/collection";







#pragma mark - ========十一 支付  invitation ============
/**预支付接口: 点击立即下单跳转的界面*/
NSString *const XJPayPrePay = @"pay/prepay";

//http://xinjiangapi.zertone1.com/api/v1/pay
/**支付*/
NSString *const XJPay = @"pay";


#pragma mark - ========十二 售后相关  refund ============
/**跳转评价售后先调用的一个接口*/
NSString *const XJOrderOrderPage = @"order/orderGoodsPage";

/**申请售后*/
NSString *const XJRefoundRefoundCommit = @"refund/refundCommit";
/**评价订单*/
NSString *const XJOrderComment = @"order/comment";
/**售后列表*/
NSString *const XJRefoundList = @"refund/lists";


#pragma mark - 十三 首页  相关接口,没有按照后台的分类进行分类。
/**点击首页tag---超市商场连续调用的两个接口-1 */
NSString *const XJHomeGoodsCategoryList = @"home/goods_category_list";


#pragma mark - 十四 消息管理(接口文档的位置:首页、消息管理)
/**获取消息列表 1:系统消息，2:订单消息 */
NSString *const XJCustomMessageList = @"customer_message/message_list";
/**评论消息列表,回复我的*/
NSString *const XJInvitationReplyMe = @"invitation/replyMe";


#pragma mark - 十五  实名认证
/**用于判断是否进行了实名认证*/
NSString *const XJCustomIdentityIsIdentity = @"customer_identity/is_identity";
/**进行实名认证*/
NSString *const XJCustomIdentityIdentity = @"customer_identity/identity";



@end


















